package dhm.com.dhmshop.framework.module.type.entity;

import java.util.List;

/**
 * 取父类下面的所有子类
 */
public class TypeCategoryChildEntity {


    /**
     * id : 190
     * name : 休闲零食
     * thumb : null
     * child : [{"catId":204,"simpleName":"薯片","catImg":"upload/goodscats/2019-02/5c7399faefdf8.jpg"},{"catId":205,"simpleName":"牛肉干","catImg":"upload/goodscats/2019-02/5c739a21e723c.jpg"},{"catId":206,"simpleName":"鱼豆腐","catImg":"upload/goodscats/2019-02/5c739a3f18070.jpg"},{"catId":207,"simpleName":"鱼干","catImg":"upload/goodscats/2019-02/5c739a69e72b3.jpg"},{"catId":208,"simpleName":"凤爪鸡翅","catImg":"upload/goodscats/2019-02/5c739a99efa6e.jpg"}]
     */

    private int id;
    private String name;
    private Object thumb;
    private List<ChildBean> child;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Object getThumb() {
        return thumb;
    }

    public void setThumb(Object thumb) {
        this.thumb = thumb;
    }

    public List<ChildBean> getChild() {
        return child;
    }

    public void setChild(List<ChildBean> child) {
        this.child = child;
    }

    public static class ChildBean {
        /**
         * catId : 204
         * simpleName : 薯片
         * catImg : upload/goodscats/2019-02/5c7399faefdf8.jpg
         */

        private int catId;
        private String simpleName;
        private String catImg;

        public int getCatId() {
            return catId;
        }

        public void setCatId(int catId) {
            this.catId = catId;
        }

        public String getSimpleName() {
            return simpleName;
        }

        public void setSimpleName(String simpleName) {
            this.simpleName = simpleName;
        }

        public String getCatImg() {
            return catImg;
        }

        public void setCatImg(String catImg) {
            this.catImg = catImg;
        }
    }
}
